import VueRouter from 'vue-router'
import VideoHall from '@/pages/video-hall'
import ConfigPage from '@/pages/config-page'
import EditVideo from '@/pages/edit-video'
import VideoPlayer from '@/pages/video-player'

const router = new VueRouter({
    mode: 'hash',
    routes: [
        { path: '/', component: VideoHall },
        { path: '/videoHall', component: VideoHall },
        { path: '/configPage', component: ConfigPage },
        { path: '/editVideo', component: EditVideo },
        { path: '/videoPlayer', component: VideoPlayer },
    ],
})

export default router
